<table border="0" width="100%" class="adminLinks" cellpadding="3" cellspacing="0">
    <tr>
  <th class="adminHeaderStatus"><%= t("site.cms.label.status") %></th>
  <th class="adminHeaderUsers"><%= t("site.cms.entity.users") %></th>
  <th class="adminHeaderTowns"><%= t("site.cms.entity.towns") %></th>
  <th class="adminHeaderDesires"><%= t("site.cms.entity.desires") %></th>
  <th class="adminHeaderShops"><%= t("site.cms.entity.shops") %></th>
  <th class="adminHeaderStaffs"><%= t("site.cms.entity.staffs") %></th>
  <th class="adminHeaderCategories"><%= t("site.cms.entity.categors") %></th>
  <th class="adminHeaderProducts"><%= t("site.cms.entity.products") %></th>
  <th class="adminHeaderContacts"><%= t("site.cms.entity.contacts") %></th>
    </tr>
  <% ["all", "approved", "banned"].each_with_index do |status, index| %>
  <tr>
    <td class="adminStatus"><%= t("site.cms.status.#{status}") %></td>
    <td class="adminUsers"><%= link_to "#{t("site.cms.status.#{status}")} #{t("site.cms.entity.users")}", user_admin_path(:status => status) %></td>
    <td class="adminTowns"><%= link_to "#{t("site.cms.status.#{status}")} #{t("site.cms.entity.towns")}", town_admin_path(:status => status) %></td>
    <td class="adminDesires"><%= link_to "#{t("site.cms.status.#{status}")} #{t("site.cms.entity.desires")}", desire_admin_path(:status => status) %></td>
    <td class="adminShops"><%= link_to "#{t("site.cms.status.#{status}")} #{t("site.cms.entity.shops")}", shop_admin_path(:status => status) %></td>
    <td class="adminStaffs"><%= link_to "#{t("site.cms.status.#{status}")} #{t("site.cms.entity.staffs")}", staff_admin_path(:status => status) %></td>
    <td class="adminCategories"><%= link_to "#{t("site.cms.status.#{status}")} #{t("site.cms.entity.categors")}", categor_admin_path(:status => status) %></td>
    <td class="adminProducts"><%= link_to "#{t("site.cms.status.#{status}")} #{t("site.cms.entity.products")}", product_admin_path(:status => status) %></td>
    <td class="adminContacts"><%= link_to("#{t("site.cms.status.#{status}")} #{t("site.cms.entity.contacts")}", contact_admin_path) if index == 0 %></td>
  </tr>
  <% end %>
</table>
